#pragma once

#include <common.h>
#include <riscv/block.h>

namespace riscv {
  class Block;
}

namespace riscv {
  class Func {
  public:
    std::string name;

    Block * block_begin;
    std::vector<Block*> block_list;
    Block * block_end;

    Func();
    ~Func();
  };
}
